package com.sh.service.impl;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sh.mapper.DeviceBindMapper;
import com.sh.model.DeviceBind;
import com.sh.service.DeviceBindService;

/**
* @comments
* @author  zg
* @date 2018年4月6日
*/
@Service
public class DeviceBindServiceImpl implements DeviceBindService {
	private Logger logger = LogManager.getLogger(this.getClass());
	
	@Autowired
	private DeviceBindMapper deviceBindMapper;

	@Override
	public int saveBindingInfo(DeviceBind deviceBind) {
		
		return deviceBindMapper.insert(deviceBind);
	}
	
}
